<template>
    <div>
        <el-backtop>
           <!--  <div class="backtop">UP</div> -->
           <i class="el-icon-caret-top"></i>
        </el-backtop>
        <slot></slot>
    </div>
</template>

<script>
export default {
  name: "BackTop",
};
</script>


<style>

.backtop {

        height: 100%;
        width: 100%;
        background-color: #f2f5f6;
        box-shadow: 0 0 6px rgba(0,0,0, .12);
        text-align: center;
        line-height: 40px;
        color: #1989fa;
}
</style>